﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace VideoCache.Server.MVCWeb.Areas.Api.Models
{
    public class AuthenticationModel
    {
        public const string CookieName = ".CacheAuth";

        [Display(Name = "商户编号")]
        [Required]
        public int CompanyId { get; set; }

        [Display(Name = "商户密码")]
        [Required]
        public string Password { get; set; }

        [Display(Name = "客户端版本")]
        [Required]
        public string Version { get; set; }
    }
}